﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using ThuPhap.ViewModels;

namespace ThuPhap.Models
{
    public class BackgroundItem :BaseViewModel
    {
        private int id;
        public int ID
        {
            set
            {
                if (value != id)
                {
                    id = value;
                    NotifyPropertyChanged("Name");
                }
            }
            get { return id; }
        }
 
        private string name;

        public string Name
        {
            get { return name; }
            set
            {
                if (value != name)
                {
                    name = value;
                    NotifyPropertyChanged("Name");
                }
            }
        }

        private string description;

        public string Description
        {
            get { return description; }
            set
            {
                if (description != value)
                {
                    description = value;
                    NotifyPropertyChanged("Description");
                }
            }
        }

        private string image;

        public string Image
        {
            get { return image; }
            set
            {
                if (value != description)
                {
                    image = value;
                    NotifyPropertyChanged("Image");
                }
            }
        }

    }
}
